package com.huangliusong.aop.demo3;

import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

public class MyBeforeAdvice implements MethodBeforeAdvice {
    public void before(Method method, Object[] objects, Object o) throws Throwable {
        //这是前置增强
        System.out.println("---------------这是前置增强-------------------------");
    }
}
